package com.fy.service.server.config;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * lode yml config info
 * Created by ruilong.yang
 */
@Component
@Configuration
public class NettyConfig {

    //这里可以设置tcp服务的端口号
    @Value("${netty.server.cer.port}")
    private int port = 9912;
    @Value("${netty.server.cer.webport}")
    private int webport = 9703;

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getWebport() {
        return webport;
    }

    public void setWebport(int webport) {
        this.webport = webport;
    }
}